Init

data class Init @JvmOverloads constructor(    val clientId: String = "",     val clientSecret: String = "",     val venue: String = "",     val perspective: String? = "Website",     val baseUrl: String = "",     val noAuth: Boolean = false,     val firstMapId: String? = null,     val headers: List<MPIHeader>? = null,     val useBundle: Boolean? = false,     val emitAnalyticsEvents: Boolean? = true)

This class hold the properties of values to be used when initialzing a map

Constructors

Link copied to clipboard
fun Init(    clientId: String = "",     clientSecret: String = "",     venue: String = "",     perspective: String? = "Website",     baseUrl: String = "",     noAuth: Boolean = false,     firstMapId: String? = null,     headers: List<MPIHeader>? = null,     useBundle: Boolean? = false,     emitAnalyticsEvents: Boolean? = true)

Properties

Link copied to clipboard
val baseUrl: String

Base url string of the venue

Link copied to clipboard
val clientId: String

Client id provided to you by Mappedin to access our API- Note: Contact your Mappedin representative if you do not have one.

Link copied to clipboard
val clientSecret: String

Client secret provided to you by Mappedin to access our API- Note: Contact your Mappedin representative if you do not have one.

Link copied to clipboard
val emitAnalyticsEvents: Boolean? = true

Whether analytics events should be sent.

Link copied to clipboard
val firstMapId: String? = null

Set the first map with first map id when showing the venue

Link copied to clipboard
val headers: List<MPIHeader>? = null

An array of MPIHeader for requests

Link copied to clipboard
val noAuth: Boolean = false

Boolean value of whether there is no authorization

Link copied to clipboard
val perspective: String?

Perspective of the venue

Link copied to clipboard
val useBundle: Boolean? = false

Use a bundle for venue loading and cache it for faster subsequent loading

Link copied to clipboard
val venue: String

Name string of your venue